package com.jingwu.example.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author jingwu
 * @since 2021/2/1
 */
@Data
@Accessors(chain = true)
@TableName("author")
public class AuthorDO {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
    private String title;
    private String school;
}
